<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>19-小米模块案例</title>
		<style type="text/css">
			*{
				margin:0;
				padding:0;
			}
			.box{
				width: 1226px;
				height:614px;
				margin: 30px auto;
			}
			.box .aside{
				width: 234px;
				height:614px;
				background: #80017e;
				float: left;
			}
			.box .content{
				width: 978px;
				height:614px;
				float:right;
			}
			.box .content .item{
				width:234px;
				height:300px;
				background:#0db1f2;
				/* 向右浮动 */
				float:left;
				margin-right:14px;
				margin-bottom:14px;
			}
			.box .content .item:nth-child(4n){
				margin-right: 0;
			}
			.box .content .item:nth-child(n+5){
				margin-bottom: 0;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<!-- 左侧div -->
			<div class="aside"></div>
			<!-- 左侧div_end -->
			<!-- 右侧 -->
			<div class="content">
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
			</div>
			<!-- 右侧end -->
		</div>
	
	</body>
</html>
